<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="sysName" value="dxp"/>
<c:set var="page_admin" value="${pageContext.request.contextPath}/sendPage/dxp/admin"/>
<li class="treeview userSLock" userKey="/dxp/server">
	<a href="javascript:void(0);">
		<i class="fa fa-cog"></i> <span>服务管理</span><i class="fa fa-angle-left pull-right"></i>
	</a>
	<ul class="treeview-menu" >
		<li id="unit-list" class="" userKey="/dxp/server/unit-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/sys/unit-list"><i class="fa fa-circle-o"></i>单位管理</a></li>
		<li id="sys-reg-list" class="" userKey="/dxp/server/sys-reg-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/sys/sys-reg-list"><i class="fa fa-circle-o"></i>系统注册管理</a></li>
		<li id="int-reg-list" class="" userKey="/dxp/server/int-reg-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/int/int-reg-list"><i class="fa fa-circle-o"></i>服务注册管理</a></li>
<%--		<li id="int-api-reg-list" class="" userKey="/dxp/server/int-api-reg-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/int/int-api-reg-list"><i class="fa fa-circle-o"></i>接口注册管理</a></li>--%>
		<%--		<li id="int-apply-audit" class="" userKey="/dxp/server/int-apply-audit"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/int/int-apply-audit"><i class="fa fa-circle-o"></i>服务申请审核</a></li>--%>
		<li id="sys-int-auth" class="" userKey="/dxp/server/sys-int-auth"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/sys/sys-int-auth"><i class="fa fa-circle-o"></i>服务认证授权</a></li>
		<li id="sys-int-relation" class="" userKey="/dxp/server/sys-int-relation"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/sys/sys-int-relation"><i class="fa fa-circle-o"></i>服务权限管理</a></li>
		<li id="int-test-list" class="" userKey="/dxp/server/int-test-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/int/int-test-list"><i class="fa fa-circle-o"></i>服务接口测试</a></li>
	</ul>
</li>
<li class="treeview userSLock" userKey="/dxp/config">
	<a href="javascript:void(0);">
		<i class="fa fa-cog"></i> <span>配置管理</span><i class="fa fa-angle-left pull-right"></i>
	</a>
	<ul class="treeview-menu" >
		<li id="exchange-ptl-list" class="" userKey="/dxp/config/exchange-ptl-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/conf/exchange-ptl-list"><i class="fa fa-circle-o"></i>交换协议管理</a></li>
		<li id="msg-format-list" class="" userKey="/dxp/config/msg-format-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/conf/msg-format-list"><i class="fa fa-circle-o"></i>报文格式管理</a></li>
		<li id="rule-conf-set-list" class="" userKey="/dxp/config/rule-conf-set-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/conf/rule-conf-set-list"><i class="fa fa-circle-o"></i>规则配置管理</a></li>
		<li id="sign-conf-list" class="" userKey="/dxp/config/sign-conf-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/conf/sign-conf-list"><i class="fa fa-circle-o"></i>签名配置管理</a></li>
		<li id="conf-data-source" class="" userKey="/dxp/config/conf-data-source"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/conf/conf-data-source"><i class="fa fa-circle-o"></i>数据源配置管理</a></li>
	</ul>
</li>
<li class="treeview userSLock" userKey="/dxp/process">
	<a href="javascript:void(0);">
		<i class="fa fa-cog"></i> <span>过程控制</span><i class="fa fa-angle-left pull-right"></i>
	</a>
	<ul class="treeview-menu" >
		<li id="process-control-list" class="" userKey="/dxp/process/process-control-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/process/process-control-list"><i class="fa fa-circle-o"></i>过程控制参数管理</a></li>
		<li id="black-white-list" class="" userKey="/dxp/process/black-white-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/process/black-white-list"><i class="fa fa-circle-o"></i>黑白名单管理</a></li>
		<li id="load-node-list" class="" userKey="/dxp/process/load-node-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/process/load-node-list"><i class="fa fa-circle-o"></i>负载节点管理</a></li>
	</ul>
</li>
<li class="treeview userSLock" userKey="/dxp/logdata">
	<a href="javascript:void(0);">
		<i class="fa fa-cog"></i> <span>数据查询</span><i class="fa fa-angle-left pull-right"></i>
	</a>
	<ul class="treeview-menu" >
		<li id="certificate-data-list" class="" userKey="/dxp/logdata/certificate-data-lis"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/log/certificate-data-list"><i class="fa fa-circle-o"></i>存证数据查询</a></li>
		<li id="analytical-data-list" class="" userKey="/dxp/logdata/analytical-data-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/log/analytical-data-list"><i class="fa fa-circle-o"></i>解析数据查询</a></li>
		<li id="log-data-list" class="" userKey="/dxp/logdata/log-data-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/log/log-data-list2"><i class="fa fa-circle-o"></i>日志数据查询</a></li>
		<li id="log-exp-list" class="" userKey="/dxp/logdata/log-exp-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/log/log-exp-list"><i class="fa fa-circle-o"></i>异常日志查询</a></li>
	</ul>
</li>
<li class="treeview userSLock" userKey="/dxp/collect">
	<a href="javascript:void(0);">
		<i class="fa fa-cog"></i> <span>数据采集</span><i class="fa fa-angle-left pull-right"></i>
	</a>
	<ul class="treeview-menu" >
		<li id="collect-list" class="" userKey="/dxp/collect/collect-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/collect/collect-list"><i class="fa fa-circle-o"></i>采集管理</a></li>
	</ul>
</li>
<li class="treeview userSLock" userKey="/dxp/jkgl">
	<a href="javascript:void(0);">
		<i class="fa fa-cog"></i> <span>监控管理</span><i class="fa fa-angle-left pull-right"></i>
	</a>
	<ul class="treeview-menu" >
		<li id="jkgl-sys-int-ref" class="" userKey=""><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/jkgl/jkgl-sys-int-ref"><i class="fa fa-circle-o"></i>服务提供关系图</a></li>
		<li id="jkgl-sys-int-use" class="" userKey=""><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/jkgl/jkgl-sys-int-use"><i class="fa fa-circle-o"></i>服务使用关系图</a></li>
		<li id="jkgl-req-statistics" class="" userKey=""><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/jkgl/jkgl-req-statistics"><i class="fa fa-circle-o"></i>服务请求情况统计</a></li>
		<li id="data-monitor-list" class="" userKey="/dxp/process/data-monitor-list"><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/process/data-monitor-list"><i class="fa fa-circle-o"></i>系统运行环境监控</a></li>
	</ul>
</li>
<li class="treeview userSLock" userKey="/dxp/opc">
	<a href="javascript:void(0);">
		<i class="fa fa-cog"></i> <span>OPC数据采集管理</span><i class="fa fa-angle-left pull-right"></i>
	</a>
	<ul class="treeview-menu" >
		<li id="opc-server" class="" userKey=""><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/opc/opc-server"><i class="fa fa-circle-o"></i>服务通道配置</a></li>
		<li id="opc-group-set" class="" userKey=""><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/opc/opc-group-set"><i class="fa fa-circle-o"></i>设备信息配置</a></li>
		<li id="opc-collect-res" class="" userKey=""><a data-pjax="true" href="${ctx}/sendPage/dxp/admin/opc/opc-collect-res"><i class="fa fa-circle-o"></i>设备采集结果</a></li>
	</ul>
</li>
<script>
	//part1、注入jquery.pjax 绑定A标签点击事件
	$(document).pjax("[data-pjax='true'], a[data-pjax='true']", ".content-wrapper", {
		fragment: ".content-wrapper"
	});
	//$(document).pjax('a', '#pjax-container');
	$(document).on("pjax:send", function() {
		//alert("发送完成");
	});
	$(document).on("pjax:complete", function(resultData) {
		//alert("加载完成");
		$('.box').boxWidget();
		showClickMenu();
	});

	//part2、注入jquery.load 绑定A标签load事件
	$("[data-load='true']").each(function(){
		var thisHref = $(this).attr("href");
		$(this).attr("load-url",thisHref);
		$(this).attr("href","javascript:;");
		$(this).click(function(){
			$(".content-wrapper").load(thisHref+" .content-wrapper>",function(resultData){
				//alert(resultData);
				$result = $(resultData);
				$result.find("script").appendTo(".content-wrapper");//保证子页面的js内容能被引入进来
				showClickMenu();
			});
		});
	});
</script>
